3.3.39 \(\int \frac {(g \sec (e+f x))^{3/2} \sqrt {a+a \sec (e+f x)}}{c+d \sec (e+f x)} \, dx\) [239]

Optimal. Leaf size=149 \[ \frac {2 \sqrt {a} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {g} \tan (e+f x)}{\sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d f}-\frac {2 \sqrt {a} \sqrt {c} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {c} \sqrt {g} \tan (e+f x)}{\sqrt {c+d} \sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d \sqrt {c+d} f} \]

[Out]

2*g^(3/2)*arctanh(a^(1/2)*g^(1/2)*tan(f*x+e)/(g*sec(f*x+e))^(1/2)/(a+a*sec(f*x+e))^(1/2))*a^(1/2)/d/f-2*g^(3/2
)*arctanh(a^(1/2)*c^(1/2)*g^(1/2)*tan(f*x+e)/(c+d)^(1/2)/(g*sec(f*x+e))^(1/2)/(a+a*sec(f*x+e))^(1/2))*a^(1/2)*
c^(1/2)/d/f/(c+d)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.37, antiderivative size = 149, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {4055, 3887, 214, 4050} \begin {gather*} \frac {2 \sqrt {a} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {g} \tan (e+f x)}{\sqrt {a \sec (e+f x)+a} \sqrt {g \sec (e+f x)}}\right )}{d f}-\frac {2 \sqrt {a} \sqrt {c} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {c} \sqrt {g} \tan (e+f x)}{\sqrt {c+d} \sqrt {a \sec (e+f x)+a} \sqrt {g \sec (e+f x)}}\right )}{d f \sqrt {c+d}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((g*Sec[e + f*x])^(3/2)*Sqrt[a + a*Sec[e + f*x]])/(c + d*Sec[e + f*x]),x]

[Out]

(2*Sqrt[a]*g^(3/2)*ArcTanh[(Sqrt[a]*Sqrt[g]*Tan[e + f*x])/(Sqrt[g*Sec[e + f*x]]*Sqrt[a + a*Sec[e + f*x]])])/(d
*f) - (2*Sqrt[a]*Sqrt[c]*g^(3/2)*ArcTanh[(Sqrt[a]*Sqrt[c]*Sqrt[g]*Tan[e + f*x])/(Sqrt[c + d]*Sqrt[g*Sec[e + f*
x]]*Sqrt[a + a*Sec[e + f*x]])])/(d*Sqrt[c + d]*f)

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 3887

Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[-2*b*(d/
f), Subst[Int[1/(b - d*x^2), x], x, b*(Cot[e + f*x]/(Sqrt[a + b*Csc[e + f*x]]*Sqrt[d*Csc[e + f*x]]))], x] /; F
reeQ[{a, b, d, e, f}, x] && EqQ[a^2 - b^2, 0] &&  !GtQ[a*(d/b), 0]

Rule 4050

Int[(Sqrt[csc[(e_.) + (f_.)*(x_)]*(g_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)])/(csc[(e_.) + (f_.)*(x_)]*
(d_.) + (c_)), x_Symbol] :> Dist[-2*b*(g/f), Subst[Int[1/(b*c + a*d - c*g*x^2), x], x, b*(Cot[e + f*x]/(Sqrt[g
*Csc[e + f*x]]*Sqrt[a + b*Csc[e + f*x]]))], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b*c - a*d, 0] && EqQ[
a^2 - b^2, 0]

Rule 4055

Int[((csc[(e_.) + (f_.)*(x_)]*(g_.))^(3/2)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)])/(csc[(e_.) + (f_.)*(x_)
]*(d_.) + (c_)), x_Symbol] :> Dist[g/d, Int[Sqrt[g*Csc[e + f*x]]*Sqrt[a + b*Csc[e + f*x]], x], x] - Dist[c*(g/
d), Int[Sqrt[g*Csc[e + f*x]]*(Sqrt[a + b*Csc[e + f*x]]/(c + d*Csc[e + f*x])), x], x] /; FreeQ[{a, b, c, d, e,
f, g}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0]

Rubi steps

\begin {align*} \int \frac {(g \sec (e+f x))^{3/2} \sqrt {a+a \sec (e+f x)}}{c+d \sec (e+f x)} \, dx &=\frac {g \int \sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)} \, dx}{d}-\frac {(c g) \int \frac {\sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}{c+d \sec (e+f x)} \, dx}{d}\\ &=-\frac {\left (2 a g^2\right ) \text {Subst}\left (\int \frac {1}{a-g x^2} \, dx,x,-\frac {a \tan (e+f x)}{\sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d f}+\frac {\left (2 a c g^2\right ) \text {Subst}\left (\int \frac {1}{a c+a d-c g x^2} \, dx,x,-\frac {a \tan (e+f x)}{\sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d f}\\ &=\frac {2 \sqrt {a} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {g} \tan (e+f x)}{\sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d f}-\frac {2 \sqrt {a} \sqrt {c} g^{3/2} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {c} \sqrt {g} \tan (e+f x)}{\sqrt {c+d} \sqrt {g \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\right )}{d \sqrt {c+d} f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 1.40, size = 427, normalized size = 2.87 \begin {gather*} \frac {\left (-2 i+\sqrt {2}\right ) g^2 \left (2 \sqrt {c+d} \text {ArcTan}\left (\frac {\cos \left (\frac {1}{4} (e+f x)\right )-\left (-1+\sqrt {2}\right ) \sin \left (\frac {1}{4} (e+f x)\right )}{\left (1+\sqrt {2}\right ) \cos \left (\frac {1}{4} (e+f x)\right )-\sin \left (\frac {1}{4} (e+f x)\right )}\right )+2 \sqrt {c+d} \text {ArcTan}\left (\frac {\cos \left (\frac {1}{4} (e+f x)\right )-\left (1+\sqrt {2}\right ) \sin \left (\frac {1}{4} (e+f x)\right )}{\left (-1+\sqrt {2}\right ) \cos \left (\frac {1}{4} (e+f x)\right )-\sin \left (\frac {1}{4} (e+f x)\right )}\right )+i \left (2 \sqrt {c+d} \log \left (\sqrt {2}+2 \sin \left (\frac {1}{2} (e+f x)\right )\right )-\sqrt {c+d} \log \left (2-\sqrt {2} \cos \left (\frac {1}{2} (e+f x)\right )-\sqrt {2} \sin \left (\frac {1}{2} (e+f x)\right )\right )-\sqrt {c+d} \log \left (2+\sqrt {2} \cos \left (\frac {1}{2} (e+f x)\right )-\sqrt {2} \sin \left (\frac {1}{2} (e+f x)\right )\right )+2 \sqrt {c} \log \left (\sqrt {2} \sqrt {c+d}-2 \sqrt {c} \sin \left (\frac {1}{2} (e+f x)\right )\right )-2 \sqrt {c} \log \left (\sqrt {2} \sqrt {c+d}+2 \sqrt {c} \sin \left (\frac {1}{2} (e+f x)\right )\right )\right )\right ) \sec \left (\frac {1}{2} (e+f x)\right ) \sqrt {a (1+\sec (e+f x))}}{4 \left (i+\sqrt {2}\right ) d \sqrt {c+d} f \sqrt {g \sec (e+f x)}} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[((g*Sec[e + f*x])^(3/2)*Sqrt[a + a*Sec[e + f*x]])/(c + d*Sec[e + f*x]),x]

[Out]

((-2*I + Sqrt[2])*g^2*(2*Sqrt[c + d]*ArcTan[(Cos[(e + f*x)/4] - (-1 + Sqrt[2])*Sin[(e + f*x)/4])/((1 + Sqrt[2]
)*Cos[(e + f*x)/4] - Sin[(e + f*x)/4])] + 2*Sqrt[c + d]*ArcTan[(Cos[(e + f*x)/4] - (1 + Sqrt[2])*Sin[(e + f*x)
/4])/((-1 + Sqrt[2])*Cos[(e + f*x)/4] - Sin[(e + f*x)/4])] + I*(2*Sqrt[c + d]*Log[Sqrt[2] + 2*Sin[(e + f*x)/2]
] - Sqrt[c + d]*Log[2 - Sqrt[2]*Cos[(e + f*x)/2] - Sqrt[2]*Sin[(e + f*x)/2]] - Sqrt[c + d]*Log[2 + Sqrt[2]*Cos
[(e + f*x)/2] - Sqrt[2]*Sin[(e + f*x)/2]] + 2*Sqrt[c]*Log[Sqrt[2]*Sqrt[c + d] - 2*Sqrt[c]*Sin[(e + f*x)/2]] -
2*Sqrt[c]*Log[Sqrt[2]*Sqrt[c + d] + 2*Sqrt[c]*Sin[(e + f*x)/2]]))*Sec[(e + f*x)/2]*Sqrt[a*(1 + Sec[e + f*x])])
/(4*(I + Sqrt[2])*d*Sqrt[c + d]*f*Sqrt[g*Sec[e + f*x]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(567\) vs. \(2(117)=234\).
time = 13.20, size = 568, normalized size = 3.81

method result size
default \(\frac {2 \left (\frac {g}{\cos \left (f x +e \right )}\right )^{\frac {3}{2}} \left (\cos ^{2}\left (f x +e \right )\right ) \left (-1+\cos \left (f x +e \right )\right )^{2} \sqrt {\frac {a \left (\cos \left (f x +e \right )+1\right )}{\cos \left (f x +e \right )}}\, \left (\sqrt {\frac {c}{c -d}}\, \arctanh \left (\frac {\sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, \left (1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right )}{2}\right ) \sqrt {\left (c +d \right ) \left (c -d \right )}-\sqrt {\frac {c}{c -d}}\, \arctanh \left (\frac {\sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, \left (1+\cos \left (f x +e \right )-\sin \left (f x +e \right )\right )}{2}\right ) \sqrt {\left (c +d \right ) \left (c -d \right )}-c \ln \left (-\frac {2 \left (2 \sqrt {\frac {c}{c -d}}\, \sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, c \sin \left (f x +e \right )-2 \sqrt {\frac {c}{c -d}}\, \sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, d \sin \left (f x +e \right )-\sqrt {\left (c +d \right ) \left (c -d \right )}\, \cos \left (f x +e \right )+c \sin \left (f x +e \right )-d \sin \left (f x +e \right )+\sqrt {\left (c +d \right ) \left (c -d \right )}\right )}{\sqrt {\left (c +d \right ) \left (c -d \right )}\, \sin \left (f x +e \right )+c \cos \left (f x +e \right )-d \cos \left (f x +e \right )-c +d}\right )+c \ln \left (-\frac {2 \left (2 \sqrt {\frac {c}{c -d}}\, \sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, c \sin \left (f x +e \right )-2 \sqrt {\frac {c}{c -d}}\, \sqrt {\frac {1}{\cos \left (f x +e \right )+1}}\, d \sin \left (f x +e \right )+\sqrt {\left (c +d \right ) \left (c -d \right )}\, \cos \left (f x +e \right )+c \sin \left (f x +e \right )-d \sin \left (f x +e \right )-\sqrt {\left (c +d \right ) \left (c -d \right )}\right )}{c \cos \left (f x +e \right )-d \cos \left (f x +e \right )-\sqrt {\left (c +d \right ) \left (c -d \right )}\, \sin \left (f x +e \right )-c +d}\right )\right ) \left (c -d \right )}{f \sin \left (f x +e \right )^{4} \left (\frac {1}{\cos \left (f x +e \right )+1}\right )^{\frac {3}{2}} \sqrt {\frac {c}{c -d}}\, \left (-c +d +\sqrt {\left (c +d \right ) \left (c -d \right )}\right ) \left (c -d +\sqrt {\left (c +d \right ) \left (c -d \right )}\right ) \sqrt {\left (c +d \right ) \left (c -d \right )}}\) \(568\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*sec(f*x+e))^(3/2)*(a+a*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e)),x,method=_RETURNVERBOSE)

[Out]

2/f*(g/cos(f*x+e))^(3/2)*cos(f*x+e)^2*(-1+cos(f*x+e))^2*(a*(cos(f*x+e)+1)/cos(f*x+e))^(1/2)*((1/(c-d)*c)^(1/2)
*arctanh(1/2*(1/(cos(f*x+e)+1))^(1/2)*(1+cos(f*x+e)+sin(f*x+e)))*((c+d)*(c-d))^(1/2)-(1/(c-d)*c)^(1/2)*arctanh
(1/2*(1/(cos(f*x+e)+1))^(1/2)*(1+cos(f*x+e)-sin(f*x+e)))*((c+d)*(c-d))^(1/2)-c*ln(-2*(2*(1/(c-d)*c)^(1/2)*(1/(
cos(f*x+e)+1))^(1/2)*c*sin(f*x+e)-2*(1/(c-d)*c)^(1/2)*(1/(cos(f*x+e)+1))^(1/2)*d*sin(f*x+e)-((c+d)*(c-d))^(1/2
)*cos(f*x+e)+c*sin(f*x+e)-d*sin(f*x+e)+((c+d)*(c-d))^(1/2))/(((c+d)*(c-d))^(1/2)*sin(f*x+e)+c*cos(f*x+e)-d*cos
(f*x+e)-c+d))+c*ln(-2*(2*(1/(c-d)*c)^(1/2)*(1/(cos(f*x+e)+1))^(1/2)*c*sin(f*x+e)-2*(1/(c-d)*c)^(1/2)*(1/(cos(f
*x+e)+1))^(1/2)*d*sin(f*x+e)+((c+d)*(c-d))^(1/2)*cos(f*x+e)+c*sin(f*x+e)-d*sin(f*x+e)-((c+d)*(c-d))^(1/2))/(c*
cos(f*x+e)-d*cos(f*x+e)-((c+d)*(c-d))^(1/2)*sin(f*x+e)-c+d)))/sin(f*x+e)^4/(1/(cos(f*x+e)+1))^(3/2)*(c-d)/(1/(
c-d)*c)^(1/2)/(-c+d+((c+d)*(c-d))^(1/2))/(c-d+((c+d)*(c-d))^(1/2))/((c+d)*(c-d))^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*sec(f*x+e))^(3/2)*(a+a*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e)),x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: Error executing code in Maxima: sign: argument cannot be imaginary
; found %i

________________________________________________________________________________________

Fricas [A]
time = 8.05, size = 1196, normalized size = 8.03 \begin {gather*} \left [\frac {\sqrt {\frac {a c g}{c + d}} g \log \left (\frac {a c^{2} g \cos \left (f x + e\right )^{3} - {\left (7 \, a c^{2} + 6 \, a c d\right )} g \cos \left (f x + e\right )^{2} + 4 \, {\left ({\left (c^{2} + c d\right )} \cos \left (f x + e\right )^{2} - {\left (2 \, c^{2} + 3 \, c d + d^{2}\right )} \cos \left (f x + e\right )\right )} \sqrt {\frac {a c g}{c + d}} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \sin \left (f x + e\right ) + {\left (2 \, a c d + a d^{2}\right )} g \cos \left (f x + e\right ) + {\left (8 \, a c^{2} + 8 \, a c d + a d^{2}\right )} g}{c^{2} \cos \left (f x + e\right )^{3} + {\left (c^{2} + 2 \, c d\right )} \cos \left (f x + e\right )^{2} + d^{2} + {\left (2 \, c d + d^{2}\right )} \cos \left (f x + e\right )}\right ) + \sqrt {a g} g \log \left (\frac {a g \cos \left (f x + e\right )^{3} - 7 \, a g \cos \left (f x + e\right )^{2} - 4 \, \sqrt {a g} {\left (\cos \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \sin \left (f x + e\right ) + 8 \, a g}{\cos \left (f x + e\right )^{3} + \cos \left (f x + e\right )^{2}}\right )}{2 \, d f}, -\frac {2 \, \sqrt {-\frac {a c g}{c + d}} g \arctan \left (\frac {{\left (c \cos \left (f x + e\right )^{2} - {\left (2 \, c + d\right )} \cos \left (f x + e\right )\right )} \sqrt {-\frac {a c g}{c + d}} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}}}{2 \, a c g \sin \left (f x + e\right )}\right ) - \sqrt {a g} g \log \left (\frac {a g \cos \left (f x + e\right )^{3} - 7 \, a g \cos \left (f x + e\right )^{2} - 4 \, \sqrt {a g} {\left (\cos \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \sin \left (f x + e\right ) + 8 \, a g}{\cos \left (f x + e\right )^{3} + \cos \left (f x + e\right )^{2}}\right )}{2 \, d f}, \frac {2 \, \sqrt {-a g} g \arctan \left (\frac {2 \, \sqrt {-a g} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right )}{a g \cos \left (f x + e\right )^{2} - a g \cos \left (f x + e\right ) - 2 \, a g}\right ) + \sqrt {\frac {a c g}{c + d}} g \log \left (\frac {a c^{2} g \cos \left (f x + e\right )^{3} - {\left (7 \, a c^{2} + 6 \, a c d\right )} g \cos \left (f x + e\right )^{2} + 4 \, {\left ({\left (c^{2} + c d\right )} \cos \left (f x + e\right )^{2} - {\left (2 \, c^{2} + 3 \, c d + d^{2}\right )} \cos \left (f x + e\right )\right )} \sqrt {\frac {a c g}{c + d}} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \sin \left (f x + e\right ) + {\left (2 \, a c d + a d^{2}\right )} g \cos \left (f x + e\right ) + {\left (8 \, a c^{2} + 8 \, a c d + a d^{2}\right )} g}{c^{2} \cos \left (f x + e\right )^{3} + {\left (c^{2} + 2 \, c d\right )} \cos \left (f x + e\right )^{2} + d^{2} + {\left (2 \, c d + d^{2}\right )} \cos \left (f x + e\right )}\right )}{2 \, d f}, \frac {\sqrt {-a g} g \arctan \left (\frac {2 \, \sqrt {-a g} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right )}{a g \cos \left (f x + e\right )^{2} - a g \cos \left (f x + e\right ) - 2 \, a g}\right ) - \sqrt {-\frac {a c g}{c + d}} g \arctan \left (\frac {{\left (c \cos \left (f x + e\right )^{2} - {\left (2 \, c + d\right )} \cos \left (f x + e\right )\right )} \sqrt {-\frac {a c g}{c + d}} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {g}{\cos \left (f x + e\right )}}}{2 \, a c g \sin \left (f x + e\right )}\right )}{d f}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*sec(f*x+e))^(3/2)*(a+a*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e)),x, algorithm="fricas")

[Out]

[1/2*(sqrt(a*c*g/(c + d))*g*log((a*c^2*g*cos(f*x + e)^3 - (7*a*c^2 + 6*a*c*d)*g*cos(f*x + e)^2 + 4*((c^2 + c*d
)*cos(f*x + e)^2 - (2*c^2 + 3*c*d + d^2)*cos(f*x + e))*sqrt(a*c*g/(c + d))*sqrt((a*cos(f*x + e) + a)/cos(f*x +
 e))*sqrt(g/cos(f*x + e))*sin(f*x + e) + (2*a*c*d + a*d^2)*g*cos(f*x + e) + (8*a*c^2 + 8*a*c*d + a*d^2)*g)/(c^
2*cos(f*x + e)^3 + (c^2 + 2*c*d)*cos(f*x + e)^2 + d^2 + (2*c*d + d^2)*cos(f*x + e))) + sqrt(a*g)*g*log((a*g*co
s(f*x + e)^3 - 7*a*g*cos(f*x + e)^2 - 4*sqrt(a*g)*(cos(f*x + e)^2 - 2*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/
cos(f*x + e))*sqrt(g/cos(f*x + e))*sin(f*x + e) + 8*a*g)/(cos(f*x + e)^3 + cos(f*x + e)^2)))/(d*f), -1/2*(2*sq
rt(-a*c*g/(c + d))*g*arctan(1/2*(c*cos(f*x + e)^2 - (2*c + d)*cos(f*x + e))*sqrt(-a*c*g/(c + d))*sqrt((a*cos(f
*x + e) + a)/cos(f*x + e))*sqrt(g/cos(f*x + e))/(a*c*g*sin(f*x + e))) - sqrt(a*g)*g*log((a*g*cos(f*x + e)^3 -
7*a*g*cos(f*x + e)^2 - 4*sqrt(a*g)*(cos(f*x + e)^2 - 2*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*s
qrt(g/cos(f*x + e))*sin(f*x + e) + 8*a*g)/(cos(f*x + e)^3 + cos(f*x + e)^2)))/(d*f), 1/2*(2*sqrt(-a*g)*g*arcta
n(2*sqrt(-a*g)*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt(g/cos(f*x + e))*cos(f*x + e)*sin(f*x + e)/(a*g*cos
(f*x + e)^2 - a*g*cos(f*x + e) - 2*a*g)) + sqrt(a*c*g/(c + d))*g*log((a*c^2*g*cos(f*x + e)^3 - (7*a*c^2 + 6*a*
c*d)*g*cos(f*x + e)^2 + 4*((c^2 + c*d)*cos(f*x + e)^2 - (2*c^2 + 3*c*d + d^2)*cos(f*x + e))*sqrt(a*c*g/(c + d)
)*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt(g/cos(f*x + e))*sin(f*x + e) + (2*a*c*d + a*d^2)*g*cos(f*x + e)
 + (8*a*c^2 + 8*a*c*d + a*d^2)*g)/(c^2*cos(f*x + e)^3 + (c^2 + 2*c*d)*cos(f*x + e)^2 + d^2 + (2*c*d + d^2)*cos
(f*x + e))))/(d*f), (sqrt(-a*g)*g*arctan(2*sqrt(-a*g)*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt(g/cos(f*x +
 e))*cos(f*x + e)*sin(f*x + e)/(a*g*cos(f*x + e)^2 - a*g*cos(f*x + e) - 2*a*g)) - sqrt(-a*c*g/(c + d))*g*arcta
n(1/2*(c*cos(f*x + e)^2 - (2*c + d)*cos(f*x + e))*sqrt(-a*c*g/(c + d))*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))
*sqrt(g/cos(f*x + e))/(a*c*g*sin(f*x + e))))/(d*f)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a \left (\sec {\left (e + f x \right )} + 1\right )} \left (g \sec {\left (e + f x \right )}\right )^{\frac {3}{2}}}{c + d \sec {\left (e + f x \right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*sec(f*x+e))**(3/2)*(a+a*sec(f*x+e))**(1/2)/(c+d*sec(f*x+e)),x)

[Out]

Integral(sqrt(a*(sec(e + f*x) + 1))*(g*sec(e + f*x))**(3/2)/(c + d*sec(e + f*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*sec(f*x+e))^(3/2)*(a+a*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e)),x, algorithm="giac")

[Out]

integrate(sqrt(a*sec(f*x + e) + a)*(g*sec(f*x + e))^(3/2)/(d*sec(f*x + e) + c), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {a+\frac {a}{\cos \left (e+f\,x\right )}}\,{\left (\frac {g}{\cos \left (e+f\,x\right )}\right )}^{3/2}}{c+\frac {d}{\cos \left (e+f\,x\right )}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + a/cos(e + f*x))^(1/2)*(g/cos(e + f*x))^(3/2))/(c + d/cos(e + f*x)),x)

[Out]

int(((a + a/cos(e + f*x))^(1/2)*(g/cos(e + f*x))^(3/2))/(c + d/cos(e + f*x)), x)

________________________________________________________________________________________